package com.baomidou.springboot.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.entity.Client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 人才招聘 Mapper 接口
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface ClientMapper extends BaseMapper<Client> {

    List<Client> findByDateDesc(Page<Client> page, @Param("search") String search);

    List<Client> findBySort(@Param("sort") String sort);

}
